import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    firStar: null,
    secStar: null,
    citySele: [
      {
        prov: "推荐",
        city: 0,
        district: "news_recommend"
      }
    ]
  },
  mutations: {
    setFirStar(state, num) {
      state.firStar = num;
    },
    setSecStar(state, num) {
      state.secStar = num;
    }
  },
  actions: {}
});
